package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dto.ChannelDto;
import com.heima.model.admin.pojo.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

public interface AdChannelService extends IService<AdChannel> {
    //频道分页列表查询
    ResponseResult findByNameAndPage(ChannelDto dto);
    //频道新增
    ResponseResult insert(AdChannel adChannel);
    //频道修改
    ResponseResult amend(AdChannel adChannel);
    //频道删除
    ResponseResult deleteById(Integer id);
}
